package com.ruoyi.recycle.domain;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * 引流门店管理对象 shop_management
 *
 * @author Wubk
 * @date 2022-05-21
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
@ApiModel("引流门店管理")
public class ShopManagement implements Serializable {
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    @ApiModelProperty(name = "id", value = "引流门店管理id")
    private Long id;

    @ApiModelProperty(name = "merchantName", value = "综合站名称")
    @Excel(name = "综合站名称")
    private String merchantName;

    /** 店铺名称 */
    @Excel(name = "店铺名称")
    @ApiModelProperty(name = "shopName", value = "店铺名称")
    private String shopName;

    /** 店主姓名 */
    @Excel(name = "店主姓名")
    @ApiModelProperty(name = "name", value = "店主姓名")
    private String name;

    /** 手机号 */
    @Excel(name = "手机号")
    @ApiModelProperty(name = "phone", value = "手机号")
    private String phone;

    /** 积分 */
    @Excel(name = "积分")
    @ApiModelProperty(name = "integral", value = "积分")
    private Long integral;

    /** 类型 */
    @Excel(name = "类型")
    @ApiModelProperty(name = "type", value = "类型")
    private String type;

    /** 提交时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "提交时间", width = 30, dateFormat = "yyyy-MM-dd")
    @ApiModelProperty(name = "submitTime", value = "提交时间")
    private Date submitTime;

    /** 账号 */
    @Excel(name = "账号")
    @ApiModelProperty(name = "shopNumber", value = "账号")
    private String shopNumber;

    /** 密码 */
    @Excel(name = "密码")
    @ApiModelProperty(name = "shopPassword", value = "密码")
    private String shopPassword;

    /** 证件资料-营业执照 */
    @Excel(name = "证件资料-营业执照")
    @ApiModelProperty(name = "shopBusinessLicense", value = "证件资料-营业执照")
    private String shopBusinessLicense;

    /** 证件资料-身份证正面 */
    @Excel(name = "证件资料-身份证正面")
    @ApiModelProperty(name = "shopIdentityCardFront", value = "证件资料-身份证正面")
    private String shopIdentityCardFront;

    /** 证件资料-身份证反面 */
    @Excel(name = "证件资料-身份证反面")
    @ApiModelProperty(name = "shopIdentityCardReverse", value = "证件资料-身份证反面")
    private String shopIdentityCardReverse;

    /** 证件资料 */
    @Excel(name = "证件资料-其他资料")
    @ApiModelProperty(name = "shopImg", value = "证件资料-其他资料")
    private String shopImg;

    /** 状态 */
    @Excel(name = "状态")
    @ApiModelProperty(name = "status", value = "状态")
    private String status;

    /** 微信标识 */
    @Excel(name = "微信标识")
    @ApiModelProperty(name = "openid", value = "微信标识")
    private String openid;

    /** 创建人 */
    @Excel(name = "创建人")
    @ApiModelProperty(name = "createdBy", value = "创建人")
    @TableField(value = "created_by", fill = FieldFill.INSERT)
    private String createdBy;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(name = "createdTime", value = "创建时间")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    @TableField(value = "created_time", fill = FieldFill.INSERT)
    private Date createdTime;

    /** 更新人 */
    @Excel(name = "更新人")
    @ApiModelProperty(name = "updatedBy", value = "更新人")
    @TableField(value = "updated_by", fill = FieldFill.UPDATE)
    private String updatedBy;

    /**
     * 更新时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(name = "updatedTime", value = "更新时间")
    @TableField(value = "updated_time", fill = FieldFill.UPDATE)
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date updatedTime;

    /**
     * 地球经度
     */
    @Excel(name = "地球经度")
    @ApiModelProperty(name = "longitude", value = "地球经度")
    private Double longitude;
    @ApiModelProperty(name = "salesmanId", value = "业务员ID")
    private Long salesmanId;
    @ApiModelProperty(name = "salesmanName", value = "业务员姓名")
    private String salesmanName;

    /**
     * 地球纬度
     */
    @Excel(name = "地球纬度")
    @ApiModelProperty(name = "latitude", value = "地球纬度")
    private Double latitude;

    /**
     * 详细地址
     */
    @Excel(name = "详细地址")
    @ApiModelProperty(name = "shopAddress", value = "详细地址")
    private String shopAddress;

    @ApiModelProperty(name = "merchantId", value = "综合站ID")
    private Long merchantId;

    @ApiModelProperty(name = "headPortrait", value = "门店头像")
    private String headPortrait;

    @ApiModelProperty(name = "promotionImg", value = "推广图片，多个图片以;分割")
    private String promotionImg;

    @ApiModelProperty(name = "businessTime", value = "营业时间")
    private String businessTime;

    @ApiModelProperty(value = "系统ID")
    private Long userId;

    @ApiModelProperty(value = "标签")
    private String labels;

    /**
     * 开户人姓名
     */
    @Excel(name = "开户人姓名")
    @ApiModelProperty(name = "bankUserName", value = "开户人姓名", dataType = "String")
    private String bankUserName;

    /**
     * 银行卡号
     */
    @Excel(name = "银行卡号")
    @ApiModelProperty(name = "bankNumber", value = "银行卡号", dataType = "String")
    private String bankNumber;

    /**
     * 开户支行
     */
    @Excel(name = "开户支行")
    @ApiModelProperty(name = "bankName", value = "开户支行", dataType = "String")
    private String bankName;

    @ApiModelProperty(value = "平台类型,（线上、线下）")
    private String category;

    @ApiModelProperty(value = "推广海报")
    private String poster;

    @ApiModelProperty(value = "推广海报文案内容")
    private String posterContent;

}
